<Window x:Uid="Window_1" x:Class="Adastra.RichEditorLibrary.HyperlinkPropertiesDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="clr-namespace:Microsoft.WPFControlsLibrary;assembly=WPFControlsLibrary"      
        xmlns:properties="clr-namespace:Adastra.RichEditorLibrary.Properties"
    Title="Odkaz (hyperlink)" Height="320" Width="450">
    <!-- -->
    <Window.Resources>
        <ResourceDictionary x:Uid="ResourceDictionary_1">
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary x:Uid="ResourceDictionary_2" Source="..\Resources\Styles\MainViewStyles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    
    <Grid x:Uid="Grid_1">
        <Grid.RowDefinitions>
            <RowDefinition x:Uid="RowDefinition_1" Height="276*" />
            <RowDefinition x:Uid="RowDefinition_2" Height="35" />
        </Grid.RowDefinitions>
        <TabControl x:Uid="m_tabbedWorkspace" Grid.Row="0" x:Name="m_tabbedWorkspace" Margin="1,1,1,1" >
            <TabItem x:Uid="m_tabProperties" x:Name="m_tabProperties" Header="Základní vlastnosti" >
                <Grid x:Uid="Grid_2">
                    <Grid.RowDefinitions>
                        <RowDefinition x:Uid="RowDefinition_3"/>
                    </Grid.RowDefinitions>
                    <GroupBox x:Uid="GroupBox_1" Header="Vlastnosti odkazu" Grid.Row="0" BorderThickness="0">
                        <Grid x:Uid="Grid_3">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition x:Uid="ColumnDefinition_1" Width="100"/>
                                <ColumnDefinition x:Uid="ColumnDefinition_2"/>
                            </Grid.ColumnDefinitions>
                            
                            <Grid.RowDefinitions>
                                <RowDefinition x:Uid="RowDefinition_4" Height="0"/>
                                <RowDefinition x:Uid="RowDefinition_5" Height="30"/>
                                <RowDefinition x:Uid="RowDefinition_6"/>
                            </Grid.RowDefinitions>
                            
                            <!--Label Grid.Row="0" Grid.Column="0" Content="Popis" Foreground="Black"/-->
                            <Label x:Uid="Label_1" Grid.Row="1" Grid.Column="0" Content="{x:Static properties:Resources.HyperlinkPropertiesDialog_Label_1_Content}"  Foreground="Black"/>
                        <!--TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Path=HyperlinkDesc, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" 
                                 Height="21" Foreground="Black" /-->
                        <TextBox x:Uid="m_txbxNavigateUri" Name="m_txbxNavigateUri" Grid.Row="1" Grid.Column="1" Text="{Binding Path=NavigateUri, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" 
                                 Height="21" Foreground="Black" GotFocus="OnPathGotFocus" LostFocus="OnNavigateUriLostFocus"/>
                        <WebBrowser x:Uid="m_webBrowser" Grid.Row="2" Grid.Column="1" Name="m_webBrowser" IsEnabled="False" ClipToBounds="True" />
                        </Grid>
                    </GroupBox>
                </Grid>

            </TabItem>
        </TabControl>
        <Button x:Uid="Button_1" Grid.Row="1" IsCancel="True" Margin="0,5,108,5" HorizontalAlignment="Right" Width="75" Click="OnCancelClick" >Storno</Button>
        <Button x:Uid="Button_2" Grid.Row="1" IsDefault="True" HorizontalAlignment="Right" Margin="0,5,6,5" Width="75" Click="OnOkClick">OK</Button>

    </Grid>
</Window>
